import { Socket } from "socket.io-client";

function onMessage() {

}
function sendMessage(message: any) {

}

function messageSocket(socket: Socket) {
    return {
        onMessage: socket.on('message', onMessage),
        sendMessage: sendMessage
    }
}


export default messageSocket;


